package com.feige.utils.file.pojo;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author feige<br />
 * @ClassName: AliyunOssProperties <br/>
 * @Description: <br/>
 * @date: 2021/9/24 17:09<br/>
 */
@ConfigurationProperties(prefix = "aliyun.oss")
public class AliyunOssProperties {

    private  String bucketName;

    private  String endpoint;

    public String bucketUrl;

    /**
     * 阿里云主账号AccessKey拥有所有API的访问权限，
     * 风险很高。强烈建议您创建并使用RAM账号进行API访问或日常运维，
     * 请登录RAM控制台创建RAM账号。
     */

    private String accessKeyId;

    private String accessKeySecret;


    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getBucketUrl() {
        return bucketUrl;
    }

    public void setBucketUrl(String bucketUrl) {
        this.bucketUrl = bucketUrl;
    }

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }
}
